import { GET, POST, POST_QS } from './Method'
import { AxiosPromise } from '../types/base'
import { IUser } from '../types/Apis'
export const User = {
	Login: (data: any): AxiosPromise => {
		return POST({ url: '/login', data })
	},

	GetOrderCount: (data: IUser.D_GetOrderCount = { age: '', bge: '' }): AxiosPromise => {
		return GET({ url: '/order/count', data })
	},
}
// export const getOrderCount = (data:data) => { return get({ url: '/order/count1', data }) }

// exportAllOrder: post({url: '/order/export', responseType: 'blob', isError: false, isLog: false, isFullData: true}),

// export2Csv: post({url: '/order/export2Csv', responseType: 'blob', isError: false, isLog: false, isFullData: true})
